package com.atguigu.service;

import com.atguigu.pojo.ProjectModule;

import java.util.List;

public interface ProjectModuleService {
    public void addProjectModule(ProjectModule projectModule);//保存模块信息
    public void updateProjectModule(ProjectModule projectModule);
    public void deleteProjectModuleById(String id);
    public ProjectModule queryProjectModuleByName(String name);//根据模块名查询模块信息
    public ProjectModule queryProjectModuleById(String id);
    public List<ProjectModule> queryProjectModules();
    public List<ProjectModule> queryProjectModulesByProjectId(String projectId);
    public List<ProjectModule> queryProjectModulesByProjectModuleTypeId(String projectModuleTypeId);
    public List<ProjectModule> queryProjectModulesByProjectModuleTypeName(String projectModuleTypeName);
    public List<ProjectModule> queryProjectModulesByProjectIdAndProjectModuleTypeId(String projectId,String projectModuleTypeId);
    public List<ProjectModule> queryProjectModulesByProjectIdAndProjectModuleTypeName(String projectId,String projectModuleTypeName);
}
